package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.Buffet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/9/2
 **/
public interface BuffetMapper {
    public Buffet selectById(Long id);
    public List<Buffet> selectByIds(@Param("ids") List<Long> ids);
    public List<Buffet> selectList(Buffet buffet);
    public int insert(Buffet buffet);
    public int update(Buffet buffet);
    public int deleteById(Long id);
    List<Buffet> selectQiyongList(@Param("type") String type, @Param("id") Long id);

}
